package com.ifonly.logger.nop;

import com.ifonly.logger.ILoggerFactory;
import com.ifonly.logger.Logger;

/**
 * NOPLoggerFactory
 *
 *  ILoggerFactory 的 默认实现
 *
 * @author <a href="mailto:ifonlymaster@163.com">ifonly</a>
 * @version 1.0 2015-12-09 10:10
 * @since JDK 1.6
 */
public class NOPLoggerFactory implements ILoggerFactory {

    public Logger getLogger(String name) {
        return new NOPLogger(name);
    }

    public Logger getLogger(Class<?> clazz) {
        return new NOPLogger(clazz);
    }

}
